package com.mayikt.service;

import com.mayikt.base.BaseResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Name PaymentAggregateService
 * @Author 枫火
 * @Date 2021/7/14 19:47
 * @Description
 **/
public interface PaymentAggregateService {

    /**
     * 根据支付token和渠道id提交html参数到第三方支付
     *
     * @param payToken
     * @param channelId
     * @return
     */
    @GetMapping("/toPayHtml")
    BaseResponse<String> toPayHtml(@RequestParam("payToken") String payToken,
                                   @RequestParam("channelId") String channelId);
}
